package com.ctshk.rpc.cms.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@ApiModel(value="BannerDTO", description="BannerDTO")
public class BannerDTO implements Serializable {
    private static final long serialVersionUID = 5815291392234239777L;

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "banner名称")
    private String bannerName;

    @ApiModelProperty(value = "banner位id")
    private Long bannerPositionId;

    @ApiModelProperty(value = "banner位置名称")
    private String bannerPositionName;

    @ApiModelProperty(value = "标题名称")
    private String title;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "Banner图url地址")
    private String bannerUrl;

    @ApiModelProperty(value = "链接类型")
    private LinkTypeDTO linkTypeDto;

    @ApiModelProperty(value = "创建人ID")
    private Long createId;

    @ApiModelProperty(value = "创建人")
    private String userName;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime gmtCreate;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime gmtModified;
}
